import request from '@/utils/request'

export const getIeceAPI = (params) => {
  return request({
    url: '/pole/info/list',
    params
  })
}
export const addIeceAPI = (data) => {
  return request({
    url: '/pole/info',
    method: 'post',
    data
  })
}
export const editIeceAPI = (data) => {
  return request({
    url: '/pole/info',
    method: 'put',
    data
  })
}

export const delIeceAPI = (ids) => {
  return request({
    url: '/pole/info/' + ids,
    method: 'delete'
  })
}
